﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
	xmlns:ExpressionMediaPlayer="clr-namespace:ExpressionMediaPlayer;assembly=MediaPlayer"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	x:Class="TestWif.MainPage"
	Width="800" Height="600" Loaded="UserControl_Loaded" mc:Ignorable="d">
	<UserControl.Resources>
		<Storyboard x:Name="VideoStoryboard" AutoReverse="False">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1.1"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="1.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1.1"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="1.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="-4.6529998779296875"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="-24.299999237060547"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationZ)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1.253000020980835"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="102"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="-3"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
     <Grid x:Name="LayoutRoot" Background="#FFFF0202">
      
      	<ListBox x:Name="lbItems" Height="288.273" Style="{StaticResource ListBoxStyle}" Width="118.754" Canvas.Left="520.152" Canvas.Top="178.958" HorizontalAlignment="Right" Margin="0,197,107,115" Background="#FF0D02EA" Foreground="Black"/>
      	<Grid x:Name="grid" Margin="74,264,283,176" MouseEnter="Grid_MouseEnter" RenderTransformOrigin="0.5,0.5" MouseLeave="grid_MouseLeave">
      		<Grid.Projection>
      			<PlaneProjection RotationX="-4.653" RotationY="-24.3" RotationZ="1.253"/>
      		</Grid.Projection>
      		<Grid.RenderTransform>
      			<TransformGroup>
      				<ScaleTransform/>
      				<SkewTransform/>
      				<RotateTransform/>
      				<TranslateTransform/>
      			</TransformGroup>
      		</Grid.RenderTransform>
      		<Path Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF000000" Fill="#FFD1F400" Data="F1 M 151.333,114C 226.444,105.111 301.556,96.2223 375.222,96.2223C 448.889,96.2223 521.111,105.111 593.333,114L 593.333,239.333C 520.889,247.333 448.444,255.333 374.778,255.333C 301.111,255.333 226.222,247.333 151.333,239.333L 151.333,114 Z " Margin="0,0,0,-0.111" UseLayoutRounding="False">
      			<Path.Effect>
      				<BlurEffect/>
      			</Path.Effect>
      		</Path>
      		<MediaElement x:Name="media" Margin="76,18,73,15"/>
      	</Grid>
    </Grid>
	
</UserControl>